<local:DocumentBase x:Class="WPFExcelReport.YCAFSAV95DOC"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core"
                    xmlns:UserControls="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Controls" 
                    xmlns:db="clr-namespace:INTEX.DataBase"
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
                    xmlns:wep="clr-namespace:WPFExcelReport" 
                    FontSize="12"
                   Background="White"
                    Loaded="Window_Loaded"
     >
    <local:DocumentBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:String2ColorConverter  x:Key="str2color"/>
        <ucd:ImageConverter  x:Key="image"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:QtyColorConverter  x:Key="qtyc"/>
        <db:SETINTEXDB  x:Key="SetData" />
        <db:SETINTEXDB  x:Key="SetDetail" />
        <db:SETINTEXDB  x:Key="SetEnv" />
        <CollectionViewSource   x:Key="vwABPOS" Source="{Binding Path=ICC_ABPOS_MAT,Source={StaticResource SetData}}" />
        <CollectionViewSource   x:Key="vwPABPOS" Source="{Binding Path=ICC_ABPOS_MAT,Source={StaticResource SetDetail}}" />
        <CollectionViewSource   x:Key="vwLIEFDAT" Source="{Binding Path=LIEFDAT,Source={StaticResource SetEnv}}" />
        <CollectionViewSource   x:Key="vwSECTION" Source="{Binding Path=ICC_SECTION,Source={StaticResource SetEnv}}" />
    </local:DocumentBase.Resources>
    <Grid   >
        <TabControl >
            <TabItem Header="{Binding Source={Localization:Translate Word=总览信息}}">
                <StackPanel>
                    <Expander IsExpanded="True">
                        <WrapPanel> 
                            <TextBlock FontSize="18"   Width="59"  Margin="0,0,0,0" Text="{Binding Source={Localization:Translate Word=生产单}}" />
                            <Button  Width="30" Height="30"  Click="btnRefresh_Click">
                                <Button.Background>
                                    <ImageBrush  ImageSource="Image/Refresh.png" />
                                </Button.Background>
                            </Button>
                            <TextBox Background="White"  FontSize="18"    Width="40" Name="txtKRS" CharacterCasing="Upper" Margin="10,0,0,0" Text="" />
                            <TextBox Background="White"  FontSize="18"    Width="80" Name="txtLFD" CharacterCasing="Upper" Margin="10,0,0,0" Text="" />
                            <TextBlock FontSize="18"   Width="59"  Margin="0,0,0,0" Text="{Binding Source={Localization:Translate Word=款式}}" />
                            <TextBox Background="Yellow"  FontSize="18"    Width="120" Name="txtFSART" CharacterCasing="Upper" Margin="10,0,0,0" Text="" />
                            <TextBlock FontSize="18"   Width="Auto"  Margin="0,0,0,0" Text="{Binding Source={Localization:Translate Word=创建日期}}" />
                            <TextBox Background="White"  FontSize="14"    Width="80" Name="txtNEWDATE" CharacterCasing="Upper" Margin="10,0,0,0"  BorderBrush="Blue" Text="" />
                            <TextBlock Text="{Binding Source={Localization:Translate Word=年份}}" FontSize="18" VerticalAlignment="Center"></TextBlock>
                            <TextBox FontSize="18" Name="txtYear" VerticalAlignment="Center">2014</TextBox>
                            <TextBlock Text="{Binding Source={Localization:Translate Word=波段}}" FontSize="18" VerticalAlignment="Center"></TextBlock>
                            <ComboBox Width="100" Name="cbSECTION"
                                                      DisplayMemberPath="SDDATEN"
                                                      SelectedValuePath="SDKEY"
                                                      SelectionChanged="cbSECTION_SelectionChanged"
                                                      ItemsSource="{Binding Source={StaticResource ResourceKey=vwSECTION}}"  
                                                      ></ComboBox>
                            <TextBox Name="txtSection" Width="220" FontSize="18" Background="Beige" CharacterCasing="Upper" ></TextBox>
                        </WrapPanel>
                    </Expander>
                    <WrapPanel > 
                        <StackPanel>
                            <Button   Width="30" Height="30"  Click="btnQuery_Click">
                                <Button.Background>
                                    <ImageBrush  ImageSource="Image/Reload.png" />
                                </Button.Background>
                            </Button>
                        </StackPanel>
                        <Button FontSize="18" Height="30" Width="30" Margin="5,0,0,0" Name="btnPrint" Click="btnPrint_Click">
                            <Button.Background>
                                <ImageBrush  ImageSource="Image/Print.png" />
                            </Button.Background>
                        </Button>
                        <TextBlock Text="{Binding Source={Localization:Translate Word=打印}}" Margin="5,0,0,0"  VerticalAlignment="Center" ></TextBlock>
                        <Button Content="{Binding Source={Localization:Translate Word=过滤}}" Width="Auto"  FontSize="18"  Margin="10,0,0,0"  HorizontalAlignment="Left" Click="btnFilter_Click"></Button>
                        <Button Content="{Binding Source={Localization:Translate Word=清除}}" Width="Auto"   FontSize="18"  Margin="10,0,0,0" HorizontalAlignment="Left" Click="btnFilterClear_Click"></Button>
                    </WrapPanel>
                    <DataGrid 
                                            AutoGenerateColumns="False"
                                            EnableRowVirtualization="False"
                                            VerticalScrollBarVisibility="Auto"
                                            HorizontalScrollBarVisibility="Auto"
                                            HeadersVisibility="Column" 
                                            FontSize="12"
                                            IsReadOnly="True"
                                            HorizontalAlignment="Stretch"
                                            VerticalAlignment="Stretch"
                                            ItemsSource="{Binding Source={StaticResource ResourceKey=vwABPOS}}"  
                                            x:Name="dlgABPOS" 
                                            Margin="0,1,0,0" 
                                            >
                        <DataGrid.Columns>
                            <DataGridTextColumn Binding="{Binding Path=ABKKDAUFTNR, Converter={StaticResource ResourceKey=Trim}}" Header="{Binding Source={Localization:Translate Word=次数}}"   Width="30" />
                            <DataGridTextColumn Binding="{Binding Path=ABPSPGRD}" Header="{Binding Source={Localization:Translate Word=确认}}"   Width="30" />
                            <DataGridTextColumn Binding="{Binding Path=ABPGESSTA}" Header="{Binding Source={Localization:Translate Word=状态}}"   Width="30" />
                            <DataGridTextColumn Binding="{Binding Path=KRS}" Header=""   Width="30" />
                            <DataGridTextColumn Binding="{Binding Path=LFD,Converter={StaticResource ResourceKey=pnum}}" Header="{Binding Source={Localization:Translate Word=生产单}}"   Width="30" />
                            <DataGridTextColumn Binding="{Binding Path=ABPEND}" Header="{Binding Source={Localization:Translate Word=结}}"   Width="20" />
                            <DataGridTextColumn Binding="{Binding Path=SECTION}" Header="{Binding Source={Localization:Translate Word=波段}}"   Width="30" />
                            <!--DataGridTextColumn Binding="{Binding Path=MATARTD,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=大类}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=ARTGRPD,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=类别}}"   Width="Auto" /-->
                            <DataGridTextColumn Binding="{Binding Path=ABPART,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=款号}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=ARTDES,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=款式}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=ABPFARBE,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=颜色}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=CDES,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=颜色}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=MAINFABRIC,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=面辅料类别}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=FWASHING}" Header="{Binding Source={Localization:Translate Word=水洗方式}}"   Width="Auto" />
                            <!--DataGridTextColumn Binding="{Binding Path=RSSENDDAT}" Header="{Binding Source={Localization:Translate Word=发封头样}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=RSGETDATE}" Header="{Binding Source={Localization:Translate Word=回头样}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=RSACSENDDATE}" Header="{Binding Source={Localization:Translate Word=下齐色样}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=RSACGETDATE}" Header="{Binding Source={Localization:Translate Word=工厂寄回齐色样}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=RSACCDATE}" Header="{Binding Source={Localization:Translate Word=确认各色}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=RSACCCOMMENTS}" Header="{Binding Source={Localization:Translate Word=确认意见}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=RSSSTAMPSENDATE}" Header="{Binding Source={Localization:Translate Word=盖章样发出时间}}"   Width="Auto" /-->
                            <DataGridTextColumn Binding="{Binding Path=EMFSENDDAT}" Header="{Binding Source={Localization:Translate Word=面料发货时间}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=EAFSENDDAT}" Header="{Binding Source={Localization:Translate Word=配布/里布发货}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=EACSENDATE}" Header="{Binding Source={Localization:Translate Word=辅料发货}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=EREMARK}" Header="{Binding Source={Localization:Translate Word=备注}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=ECHECKDAT}" Header="{Binding Source={Localization:Translate Word=采购下核对单}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=EFCHECKDAT}" Header="{Binding Source={Localization:Translate Word=工厂回核对单}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=TQTYD}" Header="{Binding Source={Localization:Translate Word=订货会}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=TQTYP}" Header="{Binding Source={Localization:Translate Word=下单数}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=PCQTY}" Header="{Binding Source={Localization:Translate Word=裁剪数}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=PPQTY}" Header="{Binding Source={Localization:Translate Word=入库数}}"   Width="Auto" >
                                <DataGridTextColumn.ElementStyle>
                                    <Style TargetType="TextBlock">
                                        <Setter Property="Foreground" Value="{Binding Path=DQTY,Converter={StaticResource ResourceKey=qtyc}}"></Setter>
                                        <Setter Property="HorizontalAlignment" Value="Center"></Setter>
                                    </Style>
                                </DataGridTextColumn.ElementStyle>
                            </DataGridTextColumn>
                            <DataGridTextColumn Binding="{Binding Path=PDQTY}" Header="{Binding Source={Localization:Translate Word=差异数（裁剪与入库)}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=PCDAT}" Header="{Binding Source={Localization:Translate Word=裁剪时间}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=PSDAT}" Header="{Binding Source={Localization:Translate Word=上线时间}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=PSLAB}" Header="{Binding Source={Localization:Translate Word=上线人数}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=PMOUT}" Header="{Binding Source={Localization:Translate Word=台产量}}"   Width="Auto" />
                            <DataGridTextColumn Binding="{Binding Path=PPENDAT}" Header="{Binding Source={Localization:Translate Word=预计入库}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PAENDAE}" Header="{Binding Source={Localization:Translate Word=预计入库}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PPENDAT}" Header="{Binding Source={Localization:Translate Word=实际入库}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PSTARTDATE}" Header="{Binding Source={Localization:Translate Word=合同期}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PAENDSTOPDAT}" Header="{Binding Source={Localization:Translate Word=入库截止}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PQCDAT}" Header="{Binding Source={Localization:Translate Word=检验}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PQC2QTY}" Header="{Binding Source={Localization:Translate Word=检品退货}}" Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PQC2REMARK}" Header="{Binding Source={Localization:Translate Word=退货问题描述}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PREPRTNDAT}" Header="{Binding Source={Localization:Translate Word=返修回库时间}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PSAMRTDAT}" Header="{Binding Source={Localization:Translate Word=样衣样卡返回时间}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PQADAE}" Header="{Binding Source={Localization:Translate Word=销售投诉时间}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PQAISSUE}" Header="{Binding Source={Localization:Translate Word=销售反应投诉问题描述}}"   Width="Auto"/>
                            <DataGridTextColumn Binding="{Binding Path=PQAREMARK}" Header="{Binding Source={Localization:Translate Word=处理方案}}"   Width="Auto"/>
                        </DataGrid.Columns>
                    </DataGrid  >
                </StackPanel>
            </TabItem>
            <TabItem Name="tabDetail" Header="{Binding Source={Localization:Translate Word=明细信息}}" Background="White" Height="21" VerticalAlignment="Top">
                <DockPanel >
                    <Grid  >
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="220"/>
                            <RowDefinition Height="1*"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="6*"/>
                            <ColumnDefinition Width="21*"/>
                            <ColumnDefinition Width="227*"/>
                            <ColumnDefinition Width="255*"/>
                            <ColumnDefinition Width="254*" />
                            <ColumnDefinition Width="255*" />
                        </Grid.ColumnDefinitions>
                        <WrapPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="6">
                            <StackPanel>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=图片初始位置(注意反斜杠)}}"></TextBlock>
                                <TextBox Name="txtPhoto" Width="120">D:/Images</TextBox>
                            </StackPanel>
                            <!--Button Width="Auto" Margin="10,0,0,0"  HorizontalAlignment="Left" Name="btnFilterABCO" Click="btnFilterABCO_Click">过滤</Button>
                            <Button Width="Auto"  Margin="10,0,0,0" HorizontalAlignment="Left" Name="btnFilterABCOClear" Click="btnFilterABCOClear_Click">清除</Button-->
                            <Button Content="{Binding Source={Localization:Translate Word=取消款}}" Visibility="Collapsed"  Width="Auto"  Margin="10,0,0,0" HorizontalAlignment="Left"  Click="btnDelProd_Click"></Button>
                            <Button  Click="btnSave_Click" Margin="30,0,0,0" Height="30" Width="30" Visibility="Collapsed">
                                <Button.Background>
                                    <ImageBrush  ImageSource="Image/Save.png" />
                                </Button.Background>
                            </Button>
                            <TextBlock Text="{Binding Source={Localization:Translate Word=保存}}" Visibility="Collapsed" Margin="10,0,0,0" VerticalAlignment="Center"  FontSize="18" ></TextBlock>
                            <Button Click="btnApprove_Click" Margin="10,0,0,0" Height="30" Width="30" Visibility="Collapsed" >
                                <Button.Background>
                                    <ImageBrush  ImageSource="Image/button_ok.png" />
                                </Button.Background>
                            </Button>
                            <TextBlock Text="{Binding Source={Localization:Translate Word=完成}}"  Visibility="Collapsed"  Margin="10,0,0,0" VerticalAlignment="Center"  FontSize="18" ></TextBlock>
                            <!--Button  Click="btnSame_Click" Margin="10,0,0,0" Height="30" Width="30">
                                <Button.Background>
                                    <ImageBrush  ImageSource="Image/Refresh.png" />
                                </Button.Background>
                            </Button>
                            <TextBlock Margin="10,0,0,0" VerticalAlignment="Center"  FontSize="18" >同步</TextBlock-->
                            <TextBlock Name="txtLExistingLines" Width="200"></TextBlock>
                            <TextBox Name="txtLAffectedLines" Width="200"></TextBox>
                        </WrapPanel>
                        <DockPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3">
                            <DataGrid  Background="White"
                              AutoGenerateColumns="False"
                              EnableRowVirtualization="False"
                              VerticalScrollBarVisibility="Auto"
                              HorizontalScrollBarVisibility="Auto"
                              HeadersVisibility="Column" 
                              FontSize="12"
                              IsReadOnly="True"
                              ItemsSource="{Binding Source={StaticResource ResourceKey=vwPABPOS}}"  
                              x:Name="dlgPABPOS" 
                             HorizontalAlignment="Stretch"
                                       VerticalAlignment="Stretch"
                                   
                RowDetailsVisibilityMode="Visible"  >
                                <DataGrid.RowDetailsTemplate>
                                    <DataTemplate>
                                        <StackPanel Orientation="Horizontal" Margin="50,0,0,0" HorizontalAlignment="Left">
                                            <TextBlock Foreground="Black" FontSize="12" Text="{Binding Source={Localization:Translate Word=计划量}}"/>
                                            <TextBlock Foreground="Black" FontSize="12" Text="{Binding Path=QTYP}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0" FontSize="12" Text="{Binding Source={Localization:Translate Word=S:}}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0" FontSize="12" Text="{Binding Path=SP}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0" FontSize="12" Text="{Binding Source={Localization:Translate Word=M:}}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0"  FontSize="12" Text="{Binding Path=MP}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0"  FontSize="12" Text="{Binding Source={Localization:Translate Word=L:}}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0"  FontSize="12" Text="{Binding Path=LP}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0"  FontSize="12" Text="{Binding Source={Localization:Translate Word=XL:}}"/>
                                            <TextBlock Foreground="Black" Margin="10,0,0,0"  FontSize="12" Text="{Binding Path=XLP}"/>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGrid.RowDetailsTemplate>
                                <DataGrid.Columns>
                                    <DataGridTextColumn Binding="{Binding Path=ABPSPGRD}" Header="{Binding Source={Localization:Translate Word=确认}}"   Width="30" />
                                    <DataGridTextColumn Binding="{Binding Path=ABPGESSTA}" Header="{Binding Source={Localization:Translate Word=状态}}"   Width="30" />
                                    <DataGridTextColumn Binding="{Binding Path=ABPEND}" Header="{Binding Source={Localization:Translate Word=结}}"   Width="20" />
                                    <DataGridTextColumn Binding="{Binding Path=SECTION}" Header="{Binding Source={Localization:Translate Word=波段}}"   Width="30" />
                                    <DataGridTextColumn Binding="{Binding Path=MATARTD,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=大类}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=ARTGRPD,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=类别}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=ABPART}" Header="{Binding Source={Localization:Translate Word=款号}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=ARTDES,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=款式}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=ABPFARBE}" Header="{Binding Source={Localization:Translate Word=颜色}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=CDES,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:Translate Word=颜色}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=FSFINISHING}" Header="{Binding Source={Localization:Translate Word=水洗方式}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=MAINFABRIC}" Header="{Binding Source={Localization:Translate Word=面辅料类别}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=FWASHING}" Header="{Binding Source={Localization:Translate Word=水洗方式}}"   Width="Auto" />
                                    <!--DataGridTextColumn Binding="{Binding Path=RSSENDDAT}" Header="{Binding Source={Localization:Translate Word=发封头样}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=RSGETDATE}" Header="{Binding Source={Localization:Translate Word=回头样}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=RSACSENDDATE}" Header="{Binding Source={Localization:Translate Word=下齐色样}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=RSACGETDATE}" Header="{Binding Source={Localization:Translate Word=工厂寄回齐色样}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=RSACCDATE}" Header="{Binding Source={Localization:Translate Word=确认各色}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=RSACCCOMMENTS}" Header="{Binding Source={Localization:Translate Word=确认意见}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=RSSSTAMPSENDATE}" Header="{Binding Source={Localization:Translate Word=盖章样发出时间}}"   Width="Auto" /-->
                                    <DataGridTextColumn Binding="{Binding Path=EMFSENDDAT}" Header="{Binding Source={Localization:Translate Word=面料发货时间}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=EAFSENDDAT}" Header="{Binding Source={Localization:Translate Word=配布/里布发货}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=EACSENDATE}" Header="{Binding Source={Localization:Translate Word=辅料发货}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=EREMARK}" Header="{Binding Source={Localization:Translate Word=备注}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=ECHECKDAT}" Header="{Binding Source={Localization:Translate Word=采购下核对单}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=EFCHECKDAT}" Header="{Binding Source={Localization:Translate Word=工厂回核对单}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=TQTYP}" Header="{Binding Source={Localization:Translate Word=下单数}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=PCQTY}" Header="{Binding Source={Localization:Translate Word=裁剪数}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=PPQTY}" Header="{Binding Source={Localization:Translate Word=入库数}}"   Width="Auto" >
                                        <DataGridTextColumn.ElementStyle>
                                            <Style TargetType="TextBlock">
                                                <Setter Property="Foreground" Value="{Binding Path=DQTY,Converter={StaticResource ResourceKey=qtyc}}"></Setter>
                                                <Setter Property="HorizontalAlignment" Value="Center"></Setter>
                                            </Style>
                                        </DataGridTextColumn.ElementStyle>
                                    </DataGridTextColumn>
                                    <DataGridTextColumn Binding="{Binding Path=PDQTY}" Header="{Binding Source={Localization:Translate Word=差异数（裁剪与入库)}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=PCDAT}" Header="{Binding Source={Localization:Translate Word=裁剪时间}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=PSDAT}" Header="{Binding Source={Localization:Translate Word=上线时间}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=PSLAB}" Header="{Binding Source={Localization:Translate Word=上线人数}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=PMOUT}" Header="{Binding Source={Localization:Translate Word=台产量}}"   Width="Auto" />
                                    <DataGridTextColumn Binding="{Binding Path=PPENDAT}" Header="{Binding Source={Localization:Translate Word=预计入库}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PAENDAE}" Header="{Binding Source={Localization:Translate Word=预计入库}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PPENDAT}" Header="{Binding Source={Localization:Translate Word=实际入库}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PSTARTDATE}" Header="{Binding Source={Localization:Translate Word=合同期}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PAENDSTOPDAT}" Header="{Binding Source={Localization:Translate Word=入库截止}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PQCDAT}" Header="{Binding Source={Localization:Translate Word=检验}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PQC2QTY}" Header="{Binding Source={Localization:Translate Word=检品退货}}" Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PQC2REMARK}" Header="{Binding Source={Localization:Translate Word=退货问题描述}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PREPRTNDAT}" Header="{Binding Source={Localization:Translate Word=返修回库时间}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PSAMRTDAT}" Header="{Binding Source={Localization:Translate Word=样衣样卡返回时间}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PQADAE}" Header="{Binding Source={Localization:Translate Word=销售投诉时间}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PQAISSUE}" Header="{Binding Source={Localization:Translate Word=销售反应投诉问题描述}}"   Width="Auto"/>
                                    <DataGridTextColumn Binding="{Binding Path=PQAREMARK}" Header="{Binding Source={Localization:Translate Word=处理方案}}"   Width="Auto"/>
                                </DataGrid.Columns>
                            </DataGrid  >
                        </DockPanel>

                        <StackPanel  Grid.Row="1" Grid.RowSpan="1" Grid.Column="3" Grid.ColumnSpan="1" Background="White">
                            <WrapPanel>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=款式信息}}" FontSize="18"></TextBlock>
                            </WrapPanel>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=波段}}"></TextBlock>
                                <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=SECTION, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBlock>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=大类}}"></TextBlock>
                                <TextBlock Grid.Column="1" Background="LightGray" Text="{Binding Path=MATARTD,Converter={StaticResource ResourceKey=gb2312}, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBlock>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=类别}}"></TextBlock>
                                <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=ARTGRPD,Converter={StaticResource ResourceKey=gb2312}, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBlock>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=款号}}"></TextBlock>
                                <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=ABPART, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"></TextBlock>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=款式}}"></TextBlock>
                                <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=ARTDES, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"></TextBlock>
                            </Grid>
                            <WrapPanel>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                                        <ColumnDefinition Width="40"></ColumnDefinition>
                                    </Grid.ColumnDefinitions>
                                    <TextBlock Text="{Binding Source={Localization:Translate Word=颜色}}" Grid.Column="0"></TextBlock>
                                    <TextBlock Grid.Column="1"  Background="LightGray" Text="{Binding Path=ABPFARBE, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"></TextBlock>
                                </Grid>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                                        <ColumnDefinition Width="80"></ColumnDefinition>
                                    </Grid.ColumnDefinitions>
                                    <TextBlock Grid.Column="1"  Background="LightGray" Text="{Binding Path=CDES, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"></TextBlock>
                                </Grid>
                            </WrapPanel>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=面辅料类别}}"></TextBlock>
                                <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=MAINFABRIC, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"></TextBlock>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=特殊工艺}}"></TextBlock>
                                <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=FSFINISHING, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"></TextBlock>
                            </Grid>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="200"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=特别提示:}}" Grid.Row="0"></TextBlock>
                                <TextBox Grid.Row="1"  HorizontalAlignment="Stretch" Background="LightGray"  
                                         TextWrapping="Wrap"
                                         AcceptsReturn="True"
                                         Text="{Binding Path=SPREMARK, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"/>
                            </Grid>
                            <Image Source="{Binding Path=PHOTOLINK, Source={StaticResource ResourceKey=vwPABPOS}}"
                                                   Width="100"
                                                   Height="100"
                                                   Stretch="Fill"
                                                   HorizontalAlignment="Left" />

                        </StackPanel>
                        <StackPanel  Grid.Row="1" Grid.RowSpan="1" Grid.Column="4" Grid.ColumnSpan="1">
                            <WrapPanel>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=生产状态}}" FontSize="18"></TextBlock>
                                <Button FontSize="18" Height="24" Width="24" Margin="1,0,0,0"  Click="btnRelease_Click" Visibility="Collapsed" >
                                    <Button.Background>
                                        <ImageBrush  ImageSource="Image/button_ok.png" />
                                    </Button.Background>
                                </Button>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=发布}}" FontSize="18"></TextBlock>
                            </WrapPanel>
                            <WrapPanel>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                                        <ColumnDefinition Width="40"></ColumnDefinition>
                                    </Grid.ColumnDefinitions>
                                    <TextBlock Text="{Binding Source={Localization:Translate Word=确认}}"></TextBlock>
                                    <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=ABPSPGRD, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBlock>
                                </Grid>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                                        <ColumnDefinition Width="40"></ColumnDefinition>
                                    </Grid.ColumnDefinitions>
                                    <TextBlock Text="{Binding Source={Localization:Translate Word=状态}}"></TextBlock>
                                    <TextBlock Grid.Column="1"  Background="LightGray"  Text="{Binding Path=ABPGESSTA, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBlock>
                                </Grid>
                            </WrapPanel>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=结束}}"></TextBlock>
                                <TextBlock Grid.Column="1"  Width="40" Background="LightGray"  Text="{Binding Path=ABPEND, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBlock>
                            </Grid>
                            <WrapPanel>
                                <Button FontSize="18" Height="24" Width="24" Margin="1,0,0,0"  Click="btnUpdateDel_Click" Visibility="Collapsed" >
                                    <Button.Background>
                                        <ImageBrush  ImageSource="Image/Refresh.png" />
                                    </Button.Background>
                                </Button>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=交期}}" FontSize="18" Margin="1,0,0,0" ></TextBlock>
                                <TextBox Background="White"  FontSize="18"   Margin="1,0,0,0"  Width="100" Height="30" VerticalAlignment="Top" Text="{Binding ABPLIEFDAT, Source={ StaticResource ResourceKey=vwPABPOS}}" CharacterCasing="Upper" />
                            </WrapPanel>
                            <WrapPanel>
                                <Button FontSize="18" Height="24" Width="24" Margin="1,0,0,0"  Click="btnUpdateAR_Click" Visibility="Collapsed" >
                                    <Button.Background>
                                        <ImageBrush  ImageSource="Image/Refresh.png" />
                                    </Button.Background>
                                </Button>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=价格}}" FontSize="18" Margin="1,0,0,0" ></TextBlock>
                                <TextBox Background="White"  FontSize="18"   Margin="1,0,0,0"  Width="60" Height="30" VerticalAlignment="Top" Text="{Binding MPRICE, Source={ StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=d1000}}"/>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=总金额}}" FontSize="18" Margin="1,0,0,0" ></TextBlock>
                                <TextBox Background="White"  FontSize="18"   Margin="1,0,0,0"  Width="60" Height="30" VerticalAlignment="Top" Text="{Binding ARWERT, Source={ StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=d1000}}"/>
                            </WrapPanel>
                            <WrapPanel>
                                <Button FontSize="18" Height="24" Width="24" Margin="1,0,0,0"  Click="btnUpdateEX_Click" Visibility="Collapsed" >
                                    <Button.Background>
                                        <ImageBrush  ImageSource="Image/Refresh.png" />
                                    </Button.Background>
                                </Button>
                                <TextBlock FontSize="18" Text="{Binding Source={Localization:Translate Word=外发厂}}"  Margin="1,0,0,0" />
                                <ComboBox
                                Text="{Binding EXTFTYNAME, Converter={StaticResource ResourceKey=gb2312}, Source={ StaticResource ResourceKey=vwPABPOS}}"
                                    Name="cbExtFact"
                                    HorizontalAlignment="Left"
                                    IsEditable="True"
                                    IsTextSearchEnabled="True"
                                    Height="30"
                                    FontSize="12"
                                    VerticalAlignment="Top" 
                                    IsTextSearchCaseSensitive="False"
                                    Width="180"
                                    DisplayMemberPath="LSNAME1"
                                    SelectedValuePath="LSLIEFNR"
                                    ItemsSource="{Binding Source={StaticResource ResourceKey=vwLIEFDAT}}"
                                    >
                                </ComboBox>
                            </WrapPanel>
                        </StackPanel>
                        <StackPanel  Grid.Row="1" Grid.RowSpan="1" Grid.Column="5" Grid.ColumnSpan="1" Visibility="Hidden">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=试样情况}}" FontSize="18"></TextBlock>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=发封头样}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=RSSENDDAT, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=回头样}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=RSGETDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=下齐色样}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=RSACSENDDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=工厂寄回齐色样}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=RSACGETDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=确认各色}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=RSACCDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=盖章样发出时间}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=RSSSTAMPSENDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="200"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=确认意见:}}" Grid.Row="0"></TextBlock>
                                <TextBox Grid.Row="1"  HorizontalAlignment="Stretch" Background="LightGray"  
                                         TextWrapping="Wrap"
                                         AcceptsReturn="True"
                                         Text="{Binding Path=RSACCCOMMENTS, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"/>
                            </Grid>
                        </StackPanel>

                        <StackPanel  Grid.Row="2" Grid.Column="0" Height="407" Grid.ColumnSpan="3" Margin="0,0,0,0">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=原料}}" FontSize="18"></TextBlock>
                            <!--<Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock>面料发货时间</TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=EMFSENDDAT, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="67"></ColumnDefinition>
                                    <ColumnDefinition Width="14"/>
                                </Grid.ColumnDefinitions>
                                <TextBlock>配布/里布发货</TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=EAFSENDDAT, Source={StaticResource ResourceKey=vwPABPOS}}" Grid.ColumnSpan="2" Margin="1,0,0,0"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock>辅料发货</TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=EACSENDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>-->
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=商标吊牌}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=ELABELDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=采购下核对单}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=ECHECKDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=工厂回核对单}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=EFCHECKDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>

                            <Grid Height="134">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="200"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=备注}}" Margin="0,0,0,186" Grid.Row="1"></TextBlock>
                                <TextBox Grid.Row="1"   Background="LightGray" 
                                         HorizontalAlignment="Stretch"
                                                                   TextWrapping="Wrap"
                                         AcceptsReturn="True"
                                         Text="{Binding Path=EREMARK, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}" Margin="0,14,0,70" />
                            </Grid>

                        </StackPanel>
                        <StackPanel  Grid.Row="2" Grid.RowSpan="1" Grid.Column="3" Grid.ColumnSpan="1">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=生产}}" FontSize="18"></TextBlock>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=订货会}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=TQTYD, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=下单数}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=TQTYP, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=裁剪数}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PCQTY, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <WrapPanel Grid.Column="0">
                                    <TextBlock Text="{Binding Source={Localization:Translate Word=差异数（裁剪与下单)}}"></TextBlock>
                                    <TextBox  KeyUp="TbPCDQTY_KeyUp"  Width="40" Background="LightGray"  Text="{Binding Path=PCDQTY, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                                </WrapPanel>
                                <WrapPanel Grid.Column="1">
                                    <TextBlock Text="{Binding Source={Localization:Translate Word=少裁占比}}"></TextBlock>
                                    <TextBox   Width="40" Background="LightGray"  Text="{Binding Path=PCRATIO, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                                </WrapPanel>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="4.194"></ColumnDefinition>
                                    <ColumnDefinition Width="56.806"/>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=入库数}}" Grid.ColumnSpan="2"></TextBlock>
                                <TextBox Grid.Column="2"  Width="80" Background="LightGray"  Text="{Binding Path=TQTY, Source={StaticResource ResourceKey=vwPABPOS}}" Margin="1,0,0,0"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=差异数（裁剪与入库)}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=DQTY, Source={StaticResource ResourceKey=vwPABPOS}}"/>
                            </Grid>

                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=产前样确认}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PRSAMPLEAPP, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=裁剪时间}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PCDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=上线时间}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PSDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=上线人数}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PSLAB, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=台产量}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PMOUT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=下线时间}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=EPRODDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=预计入库}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PPENDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>

                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=实际入库}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PAENDAE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=入库截止}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PAENDSTOPDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=按时回货率}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=OTDRATIO, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=合同期}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PSTARTDATE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                        </StackPanel>
                        <StackPanel  Grid.Row="2" Grid.RowSpan="1" Grid.Column="4" Grid.ColumnSpan="1">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=质量}}" FontSize="18"></TextBlock>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=检验}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PQCDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=前期报告}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PQCINDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="60"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=发现问题}}" Grid.Row="0"></TextBlock>

                                <TextBox Grid.Row="1"       HorizontalAlignment="Stretch"
                                                                   TextWrapping="Wrap"  Background="LightGray"  Text="{Binding Path=PQCINREMARK, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=中期报告}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PQCMIDDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="60"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=发现问题}}" Grid.Row="0"></TextBlock>

                                <TextBox Grid.Row="1"       HorizontalAlignment="Stretch"
                                                                   TextWrapping="Wrap"  Background="LightGray"  Text="{Binding Path=PQCMIDREMARK, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"/>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=尾期报告}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PQCDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="60"></ColumnDefinition>
                                    <ColumnDefinition Width="80"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=检品退货}}"></TextBlock>
                                <TextBox Grid.Column="1" HorizontalContentAlignment="Stretch"  Background="LightGray"  Text="{Binding Path=PQC2QTY, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>

                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=返修回库时间}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PREPRTNDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=样衣样卡返回时间}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PSAMRTDAT, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="60"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=退货问题描述}}" Grid.Row="0"></TextBlock>

                                <TextBox Grid.Row="1"       HorizontalAlignment="Stretch"
                                                                   TextWrapping="Wrap"  Background="LightGray"  Text="{Binding Path=PQC2REMARK, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"/>
                            </Grid>
                        </StackPanel>
                        <StackPanel Grid.Row="2" Grid.Column="5" Grid.ColumnSpan="1">
                            <TextBlock Text="{Binding Source={Localization:Translate Word=销售}}" FontSize="18"></TextBlock>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=销售投诉时间}}"></TextBlock>
                                <TextBox Grid.Column="1"  Width="80" Background="LightGray"  Text="{Binding Path=PQADAE, Source={StaticResource ResourceKey=vwPABPOS}}"></TextBox>
                            </Grid>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="60"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Text="{Binding Source={Localization:Translate Word=销售反应投诉问题描述}}" Grid.Row="0"></TextBlock>

                                <TextBox Grid.Row="1"      
                                         HorizontalAlignment="Stretch"
                                         
                                         TextWrapping="Wrap"  Background="LightGray"  
                                         Text="{Binding Path=PQAISSUE, Source={StaticResource ResourceKey=vwPABPOS}, 
                                    Converter={StaticResource ResourceKey=gb2312}}"/>
                            </Grid>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"></RowDefinition>
                                    <RowDefinition Height="60"></RowDefinition>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="{Binding Source={Localization:Translate Word=处理方案}}"></TextBlock>

                                <TextBox Grid.Row="1"    HorizontalAlignment="Stretch"
                                                                   TextWrapping="Wrap"  Background="LightGray"  Text="{Binding Path=PQAREMARK, Source={StaticResource ResourceKey=vwPABPOS}, Converter={StaticResource ResourceKey=gb2312}}"/>
                            </Grid>
                        </StackPanel>
                    </Grid>
                </DockPanel>
            </TabItem>
            <TabItem Header="{Binding Source={Localization:Translate Word=自定义列}}" Background="White">
                <StackPanel>
                    <WrapPanel>
                        <Button Name="btnShowAll" Click="cmdToggleAll" Width="40" Height="40">
                            <Button.Background>
                                <ImageBrush  ImageSource="Image/Refresh.png" />
                            </Button.Background>
                        </Button>
                        <TextBlock VerticalAlignment="Center" Text="{Binding Source={Localization:Translate Word=显示所有列}}"></TextBlock>
                        <Button Name="btnShowLast" Click="cmdShowLast" Width="40" Height="40">
                            <Button.Background>
                                <ImageBrush  ImageSource="Image/Reload.png" />
                            </Button.Background>
                        </Button>
                        <TextBlock VerticalAlignment="Center" Text="{Binding Source={Localization:Translate Word=取消上个}}"></TextBlock>
                        <Button Name="btnHideNext" Click="cmdHideNext" Width="40" Height="40">
                            <Button.Background>
                                <ImageBrush  ImageSource="Image/Convert.png" />
                            </Button.Background>
                        </Button>
                        <TextBlock VerticalAlignment="Center" Text="{Binding Source={Localization:Translate Word=连续}}"></TextBlock>
                        <TextBox Name="nextN" Width="20">1</TextBox>
                    </WrapPanel>
                    <DataGrid 
                        AutoGenerateColumns="False"
                        EnableRowVirtualization="False"
                        VerticalScrollBarVisibility="Auto"
                        HorizontalScrollBarVisibility="Auto"
                        HeadersVisibility="Column" 
                        FontSize="12"
                        IsReadOnly="True"
                        MaxWidth="1000"
                        MaxHeight="500"
                        ItemsSource="{Binding Source={StaticResource ResourceKey=vwABPOS}}"                                       
                        Margin="0,1,0,0"        
                        >
                        <DataGrid.Columns>
                            <DataGridTextColumn Binding="{Binding Path=ABKKDAUFTNR, Converter={StaticResource ResourceKey=Trim}}" Header="{Binding Source={Localization:Translate Word=次数}}"   Width="30" />
                            <DataGridTemplateColumn x:Name="col1" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle1" Checked="colShowHide"></CheckBox>
                                            <TextBlock   Text="{Binding Source={Localization:Translate Word=确认}}"></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=ABPSPGRD}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col2" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle2" Checked="colShowHide"></CheckBox>
                                            <TextBlock   Text="{Binding Source={Localization:Translate Word=状态}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=ABPGESSTA}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col3" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle3" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=生产单}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <WrapPanel>
                                            <TextBlock  Text="{Binding Path=KRS}"/>
                                            <TextBlock  Text="{Binding Path=LFD}"/>
                                        </WrapPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col4" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle4" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=结}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=ABPEND}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col5" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle5" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=波段}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=SECTION}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col6" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle6" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=大类}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=MATARTD,Converter={StaticResource ResourceKey=gb2312}}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col7" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle7" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=类别}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=ARTGRPD,Converter={StaticResource ResourceKey=gb2312}}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col8" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle8" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=款号}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=ABPART,Converter={StaticResource ResourceKey=gb2312}}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col9" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle9" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=款式}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=ARTDES,Converter={StaticResource ResourceKey=gb2312}}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col10" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle10" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=颜色}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <WrapPanel>
                                            <TextBlock  Text="{Binding Path=ABPFARBE,Converter={StaticResource ResourceKey=gb2312}}" />
                                            <TextBlock  Text="{Binding Path=CDES,Converter={StaticResource ResourceKey=gb2312}}"/>
                                        </WrapPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col11" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle11" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=面辅料类别}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=MAINFABRIC,Converter={StaticResource ResourceKey=gb2312}}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col12" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle12" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=水洗方式}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=FWASHING}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col13" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle13" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=发封头样}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=RSSENDDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col14" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle14" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=回头样}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=RSGETDATE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col15" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle15" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=下齐色样}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=RSACSENDDATE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col16" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle16" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=工厂寄回齐色样}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=RSACGETDATE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col17" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle17" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=确认各色}}"></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=RSACCDATE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col18" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle18" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=确认意见}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=RSACCCOMMENTS}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col19" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle19" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=盖章样发出时间}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=RSSSTAMPSENDATE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col20" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle20" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=面料发货时间}}"></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=EMFSENDDAT}" />
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col21" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle21" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=配布/里布发货}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=EAFSENDDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col22" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle22" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=辅料发货}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=EACSENDATE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col23" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle23" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=备注}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=EREMARK}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col24" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle24" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=采购下核对单}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=ECHECKDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col25" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle25" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=工厂回核对单}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=EFCHECKDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col26" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle26" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=订货会}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=TQTYD}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col27" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle27" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=下单数}}"></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=TQTYP}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col28" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle28" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=裁剪数}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PCQTY}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col29" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle29" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=入库数}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PPQTY}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col30" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle30" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=差异数（裁剪与入库)}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PDQTY}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col31" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle31" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=裁剪时间}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PCDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col32" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle32" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=上线时间}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PSDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col33" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle33" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=上线人数}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PSLAB}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col34" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle34" Checked="colShowHide"></CheckBox>
                                            <TextBlock  Text="{Binding Source={Localization:Translate Word=台产量}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PMOUT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col35" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle35" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=预计入库}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PPENDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col36" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle36" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=预计入库}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PAENDAE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col37" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle37" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=实际入库}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PPENDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col38" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle38" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=合同期}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PSTARTDATE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col39" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle39" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=合同期}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PAENDSTOPDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col40" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle40" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=检验}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PQCDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col41" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle41" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=检品退货}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PQC2QTY}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col42" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle42" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=退货问题描述}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PQC2REMARK}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col43" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle43" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=返修回库时间}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PREPRTNDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col44" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle44" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=样衣样卡返回时间}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PSAMRTDAT}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col45" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle45" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=销售投诉时间}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PQADAE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col46" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle46" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=销售反应投诉问题描述}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PQAISSUE}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                            <DataGridTemplateColumn x:Name="col47" Width="Auto" IsReadOnly="True" >
                                <DataGridTemplateColumn.HeaderTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <CheckBox Name="Toggle47" Checked="colShowHide"></CheckBox>
                                            <TextBlock Text="{Binding Source={Localization:Translate Word=处理方案}}" ></TextBlock>
                                        </StackPanel>
                                    </DataTemplate>
                                </DataGridTemplateColumn.HeaderTemplate>
                                <DataGridTemplateColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock  Text="{Binding Path=PQAREMARK}"/>
                                    </DataTemplate>
                                </DataGridTemplateColumn.CellTemplate>
                            </DataGridTemplateColumn>
                        </DataGrid.Columns>
                    </DataGrid  >
                </StackPanel>
            </TabItem>
        </TabControl>
    </Grid>
</local:DocumentBase>
